<?php
require_once dirname(__FILE__)."/../../../classes/Users.class.php";
require_once dirname(__FILE__)."/../../../main/pagination/admin/users/pagination.php";  

$res = Users::show_Users($start, $num);
foreach($res as $value){
    $id = $value['id'];
    $login = $value['login'];
    $role = $value['role'];
    $dt = $value['datetime'];
      echo <<<LABEL
    <table style = "width: 100%" valign="top">
      <tr>
        <td width = "100%" height = "30px" bgcolor="#FFDAB9" valign="top">  
    <div class="left">
      $login &nbsp - &nbsp $role &nbsp - &nbsp  $dt
    </div>
    <div class="right">
      <a href="users.php?update=$id">Редактировать</a> | <a href="users.php?del=$id">Удалить</a>
    </div>
        </td>
      </tr>
    </table>
    
LABEL;

}  
?>
